
  <div class="modal">

    <!--<div class="bar bar-header bar-energized">-->
      <!--<h1 class="title">停车场详情编辑</h1>-->
      <!--<div class="item-button-left">-->
        <!--<button style="color: #fff;" class="button  button-clear no-animation ion-chevron-left"-->
                <!--ng-click="closePEdit()"></button></div>-->
      <!--<div class="item-button-right">-->
        <!--<button style="color: #fff;" class="button button-clear no-animation ion-checkmark"-->
                <!--ng-click="savePEdit()">-->
        <!--</button></div>-->
    <!--</div>-->


    <ion-header-bar class="bar bar-header home-bar-bg " >
      <div class="item-button-left">
        <button style="color: #fff;" class="button  button-clear no-animation ion-chevron-left"
                ng-click="closePEdit()"></button></div>

      <h2 class="title" style="color: white;align-content: center">停车场详情编辑</h2>
      <div class="item-button-right">
        <button style="color: #fff;" class="button button-clear no-animation ion-checkmark"
                ng-click="savePEdit()">
        </button></div>

    </ion-header-bar>

    <ion-content has-header="true" scroll="ture">
    <div class="list">
      <label class="item item-input">
        <span class="input-label">名称：</span>
        <input type="text" ng-model="pEdit.P_Name">
      </label>

      <label class="item item-input item-select">
        <div class="input-label">
         类型：
        </div>
        <select ng-model="pEdit.Type">
          <option>一般</option>
          <option selected>街边</option>
        </select>
      </label>

      <label class="item item-input">
        <span class="input-label">地址：</span>
        <input type="text" ng-model="pEdit.Address">
      </label>

      <label class="item item-input">
        <span class="input-label">车位数量：</span>
        <input type="text" ng-model="pEdit.Total_Num">
      </label>

      <label class="item item-input">
        <span class="input-label">限高：</span>
        <input type="text" ng-model="pEdit.Height_limit">
      </label>

      <label class="item item-input">
        <span class="input-label">管理员：</span>
        <input type="text" ng-model="pEdit.Adm">
      </label>

      <label class="item item-input">
        <span class="input-label">电话：</span>
        <input type="text" ng-model="pEdit.Tel">
      </label>

      <li class="item item-toggle">
        是否收费：
        <label class="toggle toggle-balanced">
          <input type="checkbox" id="check" ng-model="Pay_not" ng-click="NotFree()">
          <div class="track">
            <div class="handle"></div>
          </div>
        </label>
      </li>

<div id="notfree" style="display: none">
      <label class="item item-input item-select">
      <div class="input-label">
        收费方式：
      </div>
      <select ng-model="pEdit.Pay_Method">
        <option>card</option>
        <option selected>cash</option>
        <option>coin</option>
      </select>
      </label>


      <label class="item item-input">
          <span class="input-label">半小时以内：</span>
          <input type="text" ng-model="pEdit.Price1">
      </label>

      <label class="item item-input ">
        <span class="input-label">     半小时到一小时：</span>
        <input type="text" ng-model="pEdit.Price2">
      </label>

      <label class="item item-input">
        <span class="input-label">      一小时到两小时:</span>
        <input type="text" ng-model="pEdit.Price3">
      </label>

      <label class="item item-input">
        <span class="input-label">      其他:</span>
        <input type="text" ng-model="pEdit.Price4">
      </label>

      <label class="item item-input">
        <span class="input-label">收费时段：</span>
        <input type="text" placeholder="开始时间" ng-model="pEdit.Pay_Time_Time1">
        <input type="text" placeholder="结束时间" ng-model="pEdit.Pay_Time_Time2">
      </label>

      <label class="item item-input">
        <span class="input-label">免费时段：</span>
        <input type="text" placeholder="开始时间" ng-model="pEdit.Free_Time_Time1">
        <input type="text" placeholder="结束时间" ng-model="pEdit.Free_Time_Time2">
      </label>
</div>
      <label class="item item-input item-select">
        <span class="input-label">面向对象：</span>
        <select ng-model="pEdit.Target_User">
          <option selected>所有人</option>
          <option >顾客</option>
          <option >住户</option>
          <option >持有许可证</option>
          <option>职员</option>
        </select>
      </label>

    </div>

    </ion-content>

    </div>


